package cn.afterturn.easypdf.enums;

/**
 * Pdf 标题行
 *
 * @author JueYue
 * @version 5.0
 * 2024-8-31
 */
public enum PdfFont {

    FONT_1(false, false, 24),

    FONT_2(false, false, 20),

    FONT_3(false, false, 16),

    FONT_4(false, false, 12),

    FONT_5(false, false, 10),

    FONT_5_MIN(false, false, 9),

    FONT_6(false, false, 8),

    FONT_7(false, false, 7),

    FONT_ITALIC_1(false, true, 24),

    FONT_ITALIC_2(false, true, 20),

    FONT_ITALIC_3(false, true, 16),

    FONT_ITALIC_4(false, true, 12),

    FONT_ITALIC_5(false, true, 10),

    FONT_ITALIC_6(false, true, 8),

    FONT_BOLD_1(true, false, 24),

    FONT_BOLD_2(true, false, 20),

    FONT_BOLD_3(true, false, 16),

    FONT_BOLD_4(true, false, 12),

    FONT_BOLD_5(true, false, 10),

    FONT_BOLD_6(true, false, 8);

    private boolean bold;
    private boolean italic;
    private int fontSize;

    PdfFont(boolean bold, boolean italic, int fontSize) {
        this.bold = bold;
        this.italic = italic;
        this.fontSize = fontSize;
    }

    public boolean isBold() {
        return bold;
    }

    public boolean isItalic() {
        return italic;
    }

    public int getFontSize() {
        return fontSize;
    }
}
